package com.ruoyi.project.visit.mapper;

import com.ruoyi.project.visit.domain.DoctorRegister;

import java.util.List;

/**
 * 挂号数据访问接口
 */
public interface DoctorRegisterMapper {
    /**
     * 新增挂号
     * @param doctorRegister
     * @return
     */
    int insertDoctorRegister(DoctorRegister doctorRegister);

    /**
     * 修改挂号
     * @param doctorRegister
     * @return
     */
    int updateDoctorRegister(DoctorRegister doctorRegister);

    /**
     * 条件分页查询
     * @param doctorRegister
     * @return
     */
    List<DoctorRegister> selectList(DoctorRegister doctorRegister);

    /**
     * 根据状态查询挂号
     * @param registerStatus
     * @return
     */
    List<DoctorRegister> selectListByRegisterStatus(Integer registerStatus);
}
